package com.niguang.work.api.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenliu
 * @since 2018-07-23
 */
public class Banks extends Model<Banks> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String subBranchName;
    private String subBranchId;
    private Integer provinceId;
    private String province;
    private Integer cityId;
    private String city;
    private String bankName;
    private Integer bankId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSubBranchName() {
        return subBranchName;
    }

    public void setSubBranchName(String subBranchName) {
        this.subBranchName = subBranchName;
    }

    public String getSubBranchId() {
        return subBranchId;
    }

    public void setSubBranchId(String subBranchId) {
        this.subBranchId = subBranchId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public Integer getBankId() {
        return bankId;
    }

    public void setBankId(Integer bankId) {
        this.bankId = bankId;
    }

    public static final String ID = "id";

    public static final String SUB_BRANCH_NAME = "sub_branch_name";

    public static final String SUB_BRANCH_ID = "sub_branch_id";

    public static final String PROVINCE_ID = "province_id";

    public static final String PROVINCE = "province";

    public static final String CITY_ID = "city_id";

    public static final String CITY = "city";

    public static final String BANK_NAME = "bank_name";

    public static final String BANK_ID = "bank_id";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Banks{" +
        "id=" + id +
        ", subBranchName=" + subBranchName +
        ", subBranchId=" + subBranchId +
        ", provinceId=" + provinceId +
        ", province=" + province +
        ", cityId=" + cityId +
        ", city=" + city +
        ", bankName=" + bankName +
        ", bankId=" + bankId +
        "}";
    }
}
